{extend name="index_layout"/}
{block name="main"}
<div class="layui-card">
    <div class="layui-card-header">会员组列表</div>
    <div class="layui-card-body">
        <table class="layui-hide" id="currentTable" lay-filter="currentTable" 
            data-auth-add="{:$auth->check('user.group/add')}"
            data-auth-edit="{:$auth->check('user.group/edit')}"
            data-auth-delete="{:$auth->check('user.group/del')}"
        ></table>
    </div>
</div>
<script type="text/html" id="issystem">
    {{#  if(d.issystem==1){ }}
    <i class="iconfont text-success icon-checkbox-circle-line"></i>
    {{#  } else { }}
    <i class="iconfont text-danger icon-close-circle-line"></i>
    {{#  } }}
</script>
<script type="text/html" id="allowattachment">
    {{#  if(d.allowattachment==1){ }}
    <i class="iconfont text-success icon-checkbox-circle-line"></i>
    {{#  } else { }}
    <i class="iconfont text-danger icon-close-circle-line"></i>
    {{#  } }}
</script>
<script type="text/html" id="allowpost">
    {{#  if(d.allowpost==1){ }}
    <i class="iconfont text-success icon-checkbox-circle-line"></i>
    {{#  } else { }}
    <i class="iconfont text-danger icon-close-circle-line"></i>
    {{#  } }}
</script>
<script type="text/html" id="allowpostverify">
    {{#  if(d.allowpostverify==1){ }}
    <i class="iconfont text-success icon-checkbox-circle-line"></i>
    {{#  } else { }}
    <i class="iconfont text-danger icon-close-circle-line"></i>
    {{#  } }}
</script>
<script type="text/html" id="allowsearch">
    {{#  if(d.allowsearch==1){ }}
    <i class="iconfont text-success icon-checkbox-circle-line"></i>
    {{#  } else { }}
    <i class="iconfont text-danger icon-close-circle-line"></i>
    {{#  } }}
</script>
<script type="text/html" id="allowsendmessage">
    {{#  if(d.allowsendmessage==1){ }}
    <i class="iconfont text-success icon-checkbox-circle-line"></i>
    {{#  } else { }}
    <i class="iconfont text-danger icon-close-circle-line"></i>
    {{#  } }}
</script>
{/block}